echo "[Test] tjob command list"

tjob
tjob --help
tjob monitor --help
tjob clear --help
tjob clone --help
tjob init --help
tjob remove --help
tjob stop --help
tjob restart --help
tjob submit --help
tjob show -j

echo "Test init & submit & stop & restart"

tjob init -u xx -p yy
tjob init -u $MYNAME -p $MYPASSWD -a xxx -s zzzz

echo "echo 'hello, i am unit test from tjob' && sleep 30" > test.sh
tjob submit test.sh --name ci_test
sleep 5
tjob stop ci_test
sleep 1
tjob restart ci_test
